
export interface MetaProps {         //路由配置类型
    requiresAuth?: boolean;
    title?: string;
    key?: string;
}

export interface RouteObject {
    children?: RouteObject[];
    element?: React.ReactNode;
    index?: boolean;
    path?: string;
    meta?: MetaProps;
    title?: string;
}



export interface MenuOptions {               //侧边栏菜单类型
    path: string;
    title: string;
    icon?: string;
    isLink?: string;
    close?: boolean;
    children?: MenuOptions[];
}